package com.ityunhe.bean;

import java.sql.Timestamp;


/**
 * 菜园投诉
 * @author Administrator
 */
public class Complain implements java.io.Serializable {


	private Integer cid;
	private Integer gaid;
	private Integer uid;
	private String content;
	private Timestamp addtime;
	

	public Complain() {
	}



	public Timestamp getAddtime() {
		return addtime;
	}



	public void setAddtime(Timestamp addtime) {
		this.addtime = addtime;
	}



	public Complain(Integer cid, Integer gaid, Integer uid, String content,
			Timestamp addtime) {
		super();
		this.cid = cid;
		this.gaid = gaid;
		this.uid = uid;
		this.content = content;
		this.addtime = addtime;
	}



	/**
	 * 获取投诉编号 Integer cid 自增
	 * @param 
	 */
	public Integer getCid() {
		return this.cid;
	}
	/**
	 * 设置投诉编号 Integer cid 自增
	 * @param cid
	 */
	public void setCid(Integer cid) {
		this.cid = cid;
	}
	/**
	 * 获取菜园编号 Integer gaid 外键
	 * @param 
	 */
	public Integer getGaid() {
		return this.gaid;
	}
	/**
	 * 设置菜园编号 Integer gaid 外键
	 * @param gaid 
	 */
	public void setGaid(Integer gaid) {
		this.gaid = gaid;
	}
	/**
	 * 获取普通用户编号 Integer uid 外键
	 * @param 
	 */
	public Integer getUid() {
		return this.uid;
	}
	/**
	 * 设置普通用户编号 Integer uid 外键
	 * @param uid
	 */
	public void setUid(Integer uid) {
		this.uid = uid;
	}
	/**
	 * 获取评价内容 String content
	 * @param 
	 */
	public String getContent() {
		return this.content;
	}
	/**
	 * 设置评价内容 String content
	 * @param content
	 */
	public void setContent(String content) {
		this.content = content;
	}



	@Override
	public String toString() {
		return "Complain [cid=" + cid + ", gaid=" + gaid + ", uid=" + uid
				+ ", content=" + content + ", addtime=" + addtime + "]";
	}


}